package com.boot.entity;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 房间配置信息
 */
@Entity
@Table(name = "room_config")
@Getter@Setter@ToString
public class RoomConfigModel implements Serializable {

    /**
     * 序列号
     */
    @Id
    private Integer id;
    /**
     * 房间id
     */
    private String roomId;
    /**
     * 入桌最小积分
     */
    private Long minJoinTable;
    /**
     * 底注
     */
    private Long ante;
    /**
     * 服务费比率
     */
    private Double serviceCharge;
    /**
     * 加倍倍数
     */
    @Column(name = "doubleRoles")
    private String doubleRoles;
    /**
     * 开关(0关1开)
     */
    private Integer onOff;
}
